const { defineConfig } = require('@vue/cli-service')
const path = require('path');

module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    resolve: {
      alias: {
        '@': path.join(__dirname, 'src/'),
      }
    }
  },
  devServer: {
    client: {
      overlay: false,
    },
    // proxy: {
    //   '/api': {
    //     target: 'https://hlxapi.etransferca.info',
    //     changeOrigin: true,
    //     pathRewrite: {
    //       "^/api": "/api"
    //     }
    //   }
    // }
  }
})
